<?php

return [
    'http' => [
        'name'   => 'Jump',
        'port'   => 7700,
        // 'run'=>[]
        'option' => [
            'daemonize'           => env('HOUTAI', false),
            'log_level'           => SWOOLE_LOG_ERROR,
            'trace_flags'         => SWOOLE_TRACE_SERVER | SWOOLE_TRACE_HTTP2,
            'hook_flags'          => SWOOLE_HOOK_ALL,
            'pid_file'            => BASE_PATH . '/runtime/server.pid',
            'worker_num'          => 8,
            'aio_core_worker_num' => 1,
            'aio_worker_num'      => 2,
            'buffer_output_size'  => 32 * 1024 * 1024,
            'max_request'         => 10000,
            'package_max_length'  => 2 * 1024 * 1024,
            // 'admin_server' => '127.0.0.1:9502',
        ],
    ],
];
